package day5.zuoye;

public class Test02 {
    public static void main(String[] args) {
        int year =2014;
        double a=80000000;
        double b=50000000;
        while (year<2025){
            a*=1.2;
            b*=1.14;
            year++;
        }if ((a-b)>1000000000){
            System.out.println("成功");
        }else{
            System.out.println("失败");
        }
    }
}
